package com.obao.user.entity;


import com.obao.business.entity.Product;
import com.obao.business.entity.ProductFlavor;
import com.obao.business.entity.ProductSize;

public class ProductItem {
	private Integer productItemId;//产品项id
	private Product product;//产品项里对应的某个产品
	private BusinessItem BusinessItem;//产品项所在的商家项
	private Integer productNumber;//购买数量
	private ProductFlavor productFlavor;//口味
	private ProductSize productSize;//什么碗

	public ProductFlavor getProductFlavor() {
		return productFlavor;
	}

	public void setProductFlavor(ProductFlavor productFlavor) {
		this.productFlavor = productFlavor;
	}

	public ProductSize getProductSize() {
		return productSize;
	}

	public void setProductSize(ProductSize productSize) {
		this.productSize = productSize;
	}

	public Integer getProductItemId() {
		return productItemId;
	}

	public void setProductItemId(Integer productItemId) {
		this.productItemId = productItemId;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public com.obao.user.entity.BusinessItem getBusinessItem() {
		return BusinessItem;
	}

	public void setBusinessItem(com.obao.user.entity.BusinessItem businessItem) {
		BusinessItem = businessItem;
	}

	public Integer getProductNumber() {
		return productNumber;
	}

	public void setProductNumber(Integer productNumber) {
		this.productNumber = productNumber;
	}

	@Override
	public String toString() {
		return "ProductItem{" +
				"productItemId=" + productItemId +
				", product=" + product +
				", productNumber=" + productNumber +
				", productFlavor=" + productFlavor +
				", productSize=" + productSize +
				'}';
	}
}
